package com.lanxin.xxform.beans;

import java.util.List;

/**
 * 答卷
 */
public class Answer {

    private long id;

    //问卷ID
    private long pid;

    //姓名
    private String name = "";

    //联系方式
    private String phone = "";

    //创建时间
    private long createTime;

    //状态
    private int status;

    //用户ID
    private long uid;

    //扩展字段：问卷主体
    private Paper paper = null;

    //扩展字段：答案列表
    private List<AnswerItem> answers = null;

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getPid() {
        return this.pid;
    }

    public void setPid(long pid) {
        this.pid = pid;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public long getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public int getStatus() {
        return this.status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getUid() {
        return this.uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public Paper getPaper() {
        return this.paper;
    }

    public void setPaper(Paper paper) {
        this.paper = paper;
    }

    public List<AnswerItem> getAnswers() {
        return this.answers;
    }

    public void setAnswers(List<AnswerItem> answers) {
        this.answers = answers;
    }
    
}
